#ifndef __BSP_UART_H__
#define __BSP_UART_H__

#include "usart.h"

#define DBUS_MAX_LEN     (50)
#define DBUS_BUFLEN      (18)
#define DBUS_HUART       huart1 /* for dji remote controler reciever */

#define USART6_RX_BUFF_SIZE 255

void uart_receive_handler(UART_HandleTypeDef *huart);
void dbus_uart_init(void);
void USART_SendData(USART_TypeDef* USARTx, uint16_t Data);
extern void bsp_usart_init(void);
#endif

